﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using MyCompanyName.AbpZeroTemplate.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.Agent.Dto
{
    [AutoMapTo(typeof(Agent))]
    public class AgentDto : PagedSortedAndFilteredInputDto
    {
        public int Id { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string AgentCode { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string AgentName { get; set; }

        /// <summary>
        /// 一级代理商
        /// </summary>
        public int FirstAgent { get; set; }
        /// <summary>
        /// 一级代理商
        /// </summary>
        public string FirstAgentCode { get; set; }
        /// <summary>
        /// 二级代理商
        /// </summary>
        public int SecondAgent { get; set; }
        /// <summary>
        /// 二级代理商
        /// </summary>
        public string SecondAgentCode { get; set; }

        /// <summary>
        /// 代理商级别（1 一级代理商 2 二级代理商 3 三级代理商）
        /// </summary>
        public int AgentLevel { get; set; }

        /// <summary>
        /// 身份证
        /// </summary>
        public string IdCard { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string TelePhone { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 余额
        /// </summary>
        public decimal Balance { get; set; }

        /// <summary>
        /// 余额（充值）
        /// </summary>
        public decimal BalanceRecharge { get; set; }

        /// <summary>
        /// 支付宝账号
        /// </summary>
        public string AlipayAccount { get; set; }

        /// <summary>
        /// 银行名称
        /// </summary>
        public string BankName { get; set; }

        /// <summary>
        /// 银行账号
        /// </summary>
        public string BankAccount { get; set; }

        /// <summary>
        /// 流量比例
        /// </summary>
        public double Proportion { get; set; }


        /// <summary>
        /// 是否停用（0 启用 1 停用）
        /// </summary>
        public int IsDisabled { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 负责人Id
        /// </summary>
        public string OwnerId { get; set; }

        /// <summary>
        /// 当前负责人所在的OU
        /// </summary>
        public long OrganizationUnitId { get; set; }
    }
}
